//
//  CPCustomerServicesRightTableViewCell.m
// 
//
//  Created by 崔志伟 on 2018/8/16.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "CPCustomerServicesRightTableViewCell.h"

@implementation CPCustomerServicesRightTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.headerImgView.layer.cornerRadius = 20.0f;
    self.headerImgView.layer.masksToBounds = YES;
    self.headerImgView.image = [UIImage imageNamed:@"default"] ;
    UILongPressGestureRecognizer *longPressGR = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressAction:)];
    [self addGestureRecognizer:longPressGR];
    
}

-(void)longPressAction:(UILongPressGestureRecognizer *)longPressGest{
    
    if (longPressGest.state==UIGestureRecognizerStateBegan) {
        UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
        pasteboard.string = self.contentLabel.text;
    } else {
    }
    
}

@end
